package com.jxs.tourist.service.impl;

import com.jxs.tourist.dao.CityDao;
import com.jxs.tourist.domain.City;
import com.jxs.tourist.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityServiceImpl implements CityService {
    @Autowired
    CityDao cityDao;
    public CityServiceImpl(){
        System.out.println("init");
    }
    public List<City> getCitys() {
        return cityDao.getCitys();
    }
}
